package com.supplychain.scm.core.delay.listener;


/**
 * @author liyang
 * @version 1.0.0
 * @ClassName RedissonMessageListener
 * @createTime 17:17:00 2022/10/14
 */
public interface RedissonMessageListener<T> {

    /**
     * on message method
     *
     * @param t message object
     * @throws Exception when consumer error
     */
    void onMessage(T t) throws Exception;

}
